export default {
  collapsed: (state) => state.collapsed,
  userInfo: (state) => state.user.userInfo,
  userName: (state) => state.user.userInfo.userName,
  token: (state) => state.user.token,
  role: (state) => state.user.userInfo.roleCode,
  authData: (state) => state.user.authData
};
